package items;

import java.math.BigDecimal;

public abstract class Item{

	private String name;
	private int id;

	public Item(String name){
		this.name = name;
	}
	
	public Item(){
	}
	
	//------------Methods----------------
	
	/**
	 * Devuelve el precio de venta de un Item
	 * @return BigDecimal
	 */
	public abstract BigDecimal salePrice();
	
	
	//-------------Sett&Gett--------------
	
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

}
